AudioCodecConfiguration

AudioCodecConfiguration class contains all configuration of Opus audio codec. Configurations can be set using this class instance.

Since

4.2.4

Constructors

Link copied to clipboard
Constructor of AudioCodecConfiguration class.

Types

Link copied to clipboard

Properties

Link copied to clipboard
public int ptime

Functions

Link copied to clipboard
public boolean getOpusDtx()
Getter method of DTX.
Link copied to clipboard
public boolean getOpusFec()
Getter method of maxAverageBitRate.
Link copied to clipboard
This method will return the opus fmtp line parameters which will be in the fmtp line of SDP.
Link copied to clipboard
Getter method of maxAverageBitRate.
Link copied to clipboard
Getter method of maxPlaybackRate.
Link copied to clipboard
public int getPtime()
Getter method of ptime.
Link copied to clipboard
public void setOpusDtx(boolean dtxEnable)
Sets DTX value which will enable or disable Discontinuous Transmission feature of Opus codec.
Link copied to clipboard
public void setOpusFec(boolean fecEnable)
Sets FEC value which will enable or disable ForwardErrorCorrection feature of Opus codec.
Link copied to clipboard
public void setOpusMaxAverageBitRate(int maxAverageBitRate)
Sets the MaxAverageBitRate.
Link copied to clipboard
public void setOpusMaxPlaybackRate(int maxPlaybackRate)
Sets the MaxPlaybackRate.
Link copied to clipboard
public void setPtime(int ptime)
Sets the Ptime value which will change the ptime configuration of Opus codec.